import { User } from 'entities';
import { Service, stationPath } from "common/static/index";
import { DataSourceSelectArguments, DataSourceSelectResult } from "maishu-wuzhui";

export class LocalService extends Service {
    userList(args: DataSourceSelectArguments) {
        let url = stationPath("user/list");
        let r = this.get<DataSourceSelectResult<User>>(url);
        return r;
    }
}